package chixing.day20.proxy.homework.work3;

public class ProThread extends Thread{
    private Count count;
    private Order order;

    public ProThread(){}
    public ProThread(Count count, Order order) {
        this.count = count;
        this.order = order;
    }

    @Override
    public void run() {
        Result result = count.record(order);
        System.out.println(result);
    }
}
